<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/layui.css}">
    <script th:src="@{/js/jquery.js}"></script>
    <script th:src="@{/js/layui.js}"></script>
    <style>
        form{
            margin-top: 50px;
            padding: 50px;
        }
    </style>
</head>
<body>
<form class="layui-form" method="post" th:action="@{/deleteuser}">
    <div class="layui-form-item">
        <label class="layui-form-label">用户名</label>
        <div class="layui-input-block">
            <input type="text" maxlength="20" name="username" placeholder="要删除的用户名" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="formDemo">删除</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
    <div class="layui-bg-gray">
        <p style="font-size: 30px">[[${deleteusermsg}]]</p>
    </div>
</form>
</body>
</html>